#ifndef _RENDERSTATES_H
#define __RENDERSTATES_H
//-------------------------------------------------------------------------------//
// Rendering Pipeline States
//-------------------------------------------------------------------------------//
RasterizerState RenderMesh_RS
{	
	//FrontCounterClockwise = false;
	CullMode = BACK;
	FillMode = SOLID;	
};

RasterizerState RenderHM_RS
{	
	CullMode = BACK;
	FillMode = WIREFRAME;	
};

DepthStencilState DisableDepthTest
{
	DepthEnable = FALSE;	
};
DepthStencilState DisableDepthTestWrite
{
	DepthEnable = FALSE;
	DepthWriteMask = ZERO;	
};
DepthStencilState EnableDepthTest
{
	DepthEnable = TRUE;
	DepthWriteMask = ALL;
};

//-------------------------------------------------------------------------------//
// Samplers for texture
//-------------------------------------------------------------------------------//
SamplerState LinearSampler
{
    Filter = MIN_MAG_MIP_LINEAR;
    AddressU = Wrap;
    AddressV = Wrap;
	AddressW = Wrap;
};

SamplerState LinearSampler_Clamp
{
    Filter = MIN_MAG_MIP_LINEAR;
    AddressU = Clamp;
    AddressV = Clamp;
};
#endif